﻿using NP.BPMReportPlatform.Finance;
using NP.BPMReportPlatform.SystemSettings.Dto;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.SystemSettings
{
    /// <summary>
    /// 流程催办配置接口
    /// </summary>
    public interface IFlowUrgingConfigurationAppService : IApplicationService
    {
        /// <summary>
        /// 查询数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<GetFlowUrgingConfigurationOutput>> GetAllAsync(GetFlowUrgingConfigurationInput input);

        /// <summary>
        /// 保存审批配置
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task SaveAsync(SaveFlowUrgingConfigurationInput input);

        /// <summary>
        /// 删除审批配置
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(int id);
    }
}
